<div class="printAble scrips">
    <div class="ps_header">{:DBC('company_name')} 出库单</div>
    <div class="ps_meta">
        <div class="fl">
            购货单位：{$thePaper.source_row.customer_id|toCustomerName}
        </div>
        <div class="fr">
            <span>日期：{$thePaper.outtime|toDate='Y-m-d'}</span>
            <span>编号：{$thePaper.source_row.bill_code}</span>
            <span>销售方式： {$thePaper.source_row.sale_type|toTypeName}</span>
        </div>
        <div class="clearfix"></div>
    </div>
    <table class="ps_table" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td>品名</td>
            <td>编号</td>
            <td>颜色</td>
            <td>规格</td>
            <td>单位</td>
            <td>数量</td>
            <td>单价</td>
            <td>金额</td>
        </tr>
        <volist name="list" id="t">
            <tr>
                <td>{$t.goods_name}</td>
                <td>{$t.factory_code_all}</td>
                <td>{$t.color_name}</td>
                <td>{$t.standard_name}</td>
                <td>{$t.measure}</td>
                <td>{$t.num}</td>
                <td>{$t.per_price}</td>
                <td>{$t.price}</td>
            </tr>
        </volist>
        <tr>
            <td colspan="8">
                <div class="fl">
                    <span>合计数量：{$thePaper.source_row.total_num}</span>
                    <span>合计：{$thePaper.source_row.total_price}元</span>
                    <span>实收：{$thePaper.source_row.total_price_real}元</span>
                </div>
            </td>
        </tr>
    </table>
    <div class="ps_footer">
        <div class="fl">
            <span>销售：{$thePaper.source_row.saler_id|toTruename}</span>
            <span>出库：{$thePaper.stock_manager|toTruename}</span>
        </div>
        <div class="fr">
            <span>厂址：{:DBC('公司地址')}</span>
            <span>电话：{:DBC('联系电话')}</span>
        </div>
    </div>
</div>
